package com.hifar.test.test.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hifar.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zhuWeiWei
 * @description 试验传感器
 * @date 2025/1/14 18:08
 */
@Data
@EqualsAndHashCode
@TableName("hf_env_test_sensor")
@ApiModel("试验传感器")
public class HfEnvTestSensor extends BaseModel {
    @ApiModelProperty("设备id")
    private String sensorId;
    @ApiModelProperty("试验id")
    private String testId;
    @ApiModelProperty("设备编号")
    private String sensorCode;
    @ApiModelProperty("设备名称")
    private String sensorName;
    @ApiModelProperty("设备型号")
    private String sensorModel;
    /**
     * 灵敏度（PC/G）
     */
    @ApiModelProperty(value = "灵敏度（PC/G）")
    private String sensitivityPcg;
    /**
     * 灵敏度（PC/m/s）
     */
    @ApiModelProperty(value = "灵敏度（PC/m/s）")
    private String sensitivityPcms;

    @ApiModelProperty(value = "计量有效期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkPeriodDate;

}
